Skip to content

微信转账单号查询转账单

商家转账用户确认模式下,根据微信转账单号查询转账单的详细信息

请求参数类型描述
transfer_bill_nostring微信转账单号
php
$instance->v3->fundApp->mchTransfer->transferBills->transferBillNo->_transfer_bill_no_->getAsync([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/fund-app/mch-transfer/transfer-bills/transfer-bill-no/{transfer_bill_no}')->getAsync([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/fund-app/mch-transfer/transfer-bills/transfer-bill-no/{transfer_bill_no}']->getAsync([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->fundApp->mchTransfer->transferBills->transferBillNo->_transfer_bill_no_->get([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/fund-app/mch-transfer/transfer-bills/transfer-bill-no/{transfer_bill_no}')->get([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/fund-app/mch-transfer/transfer-bills/transfer-bill-no/{transfer_bill_no}']->get([
  'transfer_bill_no' => '1330000071100999991182020050700019480001',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
mch_idstring商户号
out_bill_nostring商户单号
transfer_bill_nostring商家转账订单号
appidstring商户AppID
statestring单据状态
transfer_amountnumber转账金额
transfer_remarkstring转账备注
fail_reasonstring失败原因
openidstring收款用户OpenID
user_namestring收款用户姓名
create_timestring单据创建时间
update_timestring最后一次状态变更时间

参阅 官方文档

Published on the GitHub by TheNorthMemory